
<div class="Breadcrumb">
	  <div class="Breadcrumb-i">您当前所在的位置：<span><a href="<?php echo base_url($this->_site_path.'/config');?>">系统配置</a></span>&nbsp;>&nbsp;<span class="orange"><?php echo isset($config_data['id'])?'修改':'添加';?></span> </div>               <div class="Breadcrumb-div">
       	   <ul>
           	   <li class="Breadcrumb-tj"><a href="<?php echo base_url( $this->_site_path.'/config/add' );?>" >添加</a></li>
           	   <li class="Breadcrumb-lb"><a href="<?php echo base_url( $this->_site_path.'/config' );?>" >列表</a></li>
           </ul>
        </div>
</div>
<div class="box box-headtitle box-radius">
	<?php if ( $is_edit == TRUE ) {?>
	<h4 class="title">系统配置修改</h4>
	<?php } else {?>
	<h4 class="title">系统配置添加</h4>
	<?php }?> 

	<?php get_messagebox();// 获取提示框 ?>
	<form method="post">
		
		<div class="control-group">
			<label class="control-label" for="key">键名</label>
			<div class="controls">
				<input type="text" name="key" id="key" placeholder="" value="<?php echo isset($config_data['key'] ) ? $config_data['key'] : ''; ?>">
			</div>
		</div>
		
		<div class="control-group">
			<label class="control-label" for="value">值</label>
			<div class="controls">
				<input type="text" name="value" id="value" placeholder="" value="<?php echo isset($config_data['value'] ) ? $config_data['value'] : ''; ?>">
			</div>
		</div>
		
		<div class="control-group">
			<label class="control-label" for="type">类型</label>
			<div class="controls">
				<input type="text" name="type" id="type" placeholder="" value="<?php echo isset($config_data['type'] ) ? $config_data['type'] : ''; ?>">
			</div>
		</div>
		
		<div class="control-group">
			<label class="control-label" for="title">标题</label>
			<div class="controls">
				<input type="text" name="title" id="title" placeholder="" value="<?php echo isset($config_data['title'] ) ? $config_data['title'] : ''; ?>">
			</div>
		</div>
		
		<div class="control-group">
			<label class="control-label" for="content">描述</label>
			<div class="controls">
				<input type="text" name="content" id="content" placeholder="" value="<?php echo isset($config_data['content'] ) ? $config_data['content'] : ''; ?>">
			</div>
		</div>
		
		<div class="control-group control-group-submit">
			<?php if ( $is_edit == TRUE ) {?>
				<button type="submit" class="btn  btn-blue btn-left">修改</button>
			<?php } else {?>
				<button type="submit" class="btn  btn-blue btn-left">添加</button>
			<?php }?> 
			<button type="reset" class="btn  btn-blue btn-left">重置</button>	 
		</div>
		<input type="hidden" name="is_submit" value="1">
		<input type="hidden" name="id" id="id"  value="<?php echo isset($config_data['id'] ) ? $config_data['id'] : ''; ?>">
		<!--__TOKEN__-->
	</form>
</div>
